import 'package:json_annotation/json_annotation.dart';


part 'user_model.g.dart';
@JsonSerializable()
class UserModel {
    UserModel();

    String id;
    String name;
    String code;
    String orgId;
    String orgName;
    String depId;
    String depName;
    String canton;
    String cantonName;
    String remark;
    String duty;
    String address;
    String telOffice;
    String telMobile;
    String sex;
    String qq;
    String wechat;
    String postCode;
    String postAddr;
    String entryDate;
    String loginTime;
    String loginLastDate;
    String signId;
    String ext1;
    String ext2;
    String ext3;
    String ext4;
    String ext5;
    bool enable;
    bool deleted;
    bool locked;
    bool credentialsExpired;
    bool accountExpired;
    
    factory UserModel.fromJson(Map<String,dynamic> json) => _$UserModelFromJson(json);
    Map<String, dynamic> toJson() => _$UserModelToJson(this);
}
